]> dgit.raspbian.org Git - gnome-shell.git/commit
shell-tray-manager: Disconnect theme_widget signals on finalize
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 19 Aug 2017 18:56:15 +0000 (20:56 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 20 Aug 2017 16:03:32 +0000 (18:03 +0200)
commitb5d3c4e165a97376907d4bd6f808a82d55c60a85
treea627344283c63bec857ba6b9e14b98988c72325d
parent5c3de58279d92794f44031f5647b86a03d71654e
shell-tray-manager: Disconnect theme_widget signals on finalize

The theme widget passed to shell_tray_manager_manager_screen() is simply
a means to receive style information. There is nothing which ties the two
object's life cycles together, so it is entirely possible for the tray to
be finalized with the widget still around - we shouldn't try to update the
stale object on widget style changes, so make sure we properly disconnect
the signal handler.

https://bugzilla.gnome.org/show_bug.cgi?id=786526
src/shell-tray-manager.c